package com.yzyz.bean.route;

import java.util.List;

import com.yzyz.bean.BaseBean;

/**
 * 线路分组或者叫线路板块,
 * 显示在页面上如：精品线路 出境线路
 * @author David Sun
 * @Date   2010-4-6
 *
 */
public class RouteGroupBean extends BaseBean {

	@Override
	public boolean equals(Object obj) {
		if(obj == null){
			return false;
		}
		if(!super.equals(obj)){
			return false;
		}
		if(obj instanceof RouteGroupBean){
			RouteGroupBean group = (RouteGroupBean)obj;
			if(group.getId() == this.id){
				return true;
			}
		}
		return false;
	}
	
	private List<RouteBean> routes;

	public List<RouteBean> getRoutes() {
		return routes;
	}

	public void setRoutes(List<RouteBean> routes) {
		this.routes = routes;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 7573143609637870771L;
	
	
}
